/*
package com.it.web.controller;

import com.it.web.bus.GoodsBusService;
import com.it.web.config.Result;

import com.it.web.controller.bo.GoodsBusBO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

*/
/**
 * 商品前端接口
 *//*

@RestController
@RequestMapping("goodsController")
public class GoodsController {
    @Autowired
    private GoodsBusService goodsBusService;

    */
/**
     * 查询商品
     *
     * @return
     *//*

    @RequestMapping("queryGoodsById")
    public Result queryGoodsById(@RequestParam long goodsId) {
        return goodsBusService.queryGoodsById(goodsId);
    }

    */
/**
     * 添加商品
     *
     * @return
     *//*

    @RequestMapping("addGoods")
    public Result addGoods(@RequestBody GoodsBusBO goodsBusBO) {
        return goodsBusService.addGoods(goodsBusBO);
    }

    */
/**
     * 删除商品
     *
     * @return
     *//*

    @RequestMapping("delGoods")
    public Result delGoods(@RequestParam long goodsId) {
        return goodsBusService.delGoods(goodsId);
    }

    */
/**
     * 修改商品
     *
     * @return
     *//*

    @RequestMapping("updateGoods")
    public Result updateGoods(@RequestBody GoodsBusBO goodsBusBO) {
        return goodsBusService.updateGoods(goodsBusBO);
    }

}
*/
